package cn.edu.nuc.bre.dto;

import java.io.Serializable;
import java.util.Date;

public class CommentDTO implements Serializable{
	
	/**
	 * 序列化id
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 发评论的部门
	 */
	private String deptname;
	
	/**
	 * 评论的类型和性质
	 */
	private String type;
	
	/**
	 * 评论的内容
	 */
	private String content;
	
	/**
	 * 评论人姓名
	 */
	private String username;
	
	/**
	 * 评论时间
	 */
	private Date commentTime;

	public String getDeptname() {
		return deptname;
	}

	public void setDeptname(String deptname) {
		this.deptname = deptname;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Date getCommentTime() {
		return commentTime;
	}

	public void setCommentTime(Date commentTime) {
		this.commentTime = commentTime;
	}

	@Override
	public String toString() {
		return "CommentDTO [deptname=" + deptname + ", type=" + type + ", content=" + content + ", username=" + username
				+ ", commentTime=" + commentTime + "]";
	}
	
}
